FROM nginx:stable-alpine3.20-slim

WORKDIR /app


COPY docker-entrypoint.sh /
COPY my.cnf /etc/mysql/
COPY mariadb-server.cnf /etc/my.cnf.d/
COPY www.conf /etc/nginx/conf.d/
COPY index.php /app/www/

ENTRYPOINT ["sh","/docker-entrypoint.sh"]

EXPOSE 80
